package cn.wangsy.contacts;

public class Contact {

	private String id;// ID
	private String name;// 姓名
	private String unitAddress;// 单位地址
	private String mobilePhone; // 手机
	private String unitPhone;// 单位电话
	private String homePhone;// 宅电

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnitAddress() {
		return unitAddress;
	}

	public void setUnitAddress(String unitAddress) {
		this.unitAddress = unitAddress;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getUnitPhone() {
		return unitPhone;
	}

	public void setUnitPhone(String unitPhone) {
		this.unitPhone = unitPhone;
	}

	public String getHomePhone() {
		return homePhone;
	}

	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}

	@Override
	public String toString() {
		return "{\"编号ID\":\"" + id + "\",\"姓名\":\"" + name + "\",\"单位地址\":\"" + unitAddress
				+ "\",\"手机号码\":\"" + mobilePhone + "\",\"单位电话\":\"" + unitPhone + "\",\"宅电话\":\""
				+ homePhone+"\"}";
	}

}
